package com.copm.demonstrationsystem.dto.housetypefeatures;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * @author chuyunfei
 * @date: 2018/4/15
 * @description: 用于接收户型图片的javabean实体
 */
@ApiModel(value = "HouseTypeImageReceiveDto",description = "用于接收户型图片上传的其他属性")
public class HouseTypeImageReceiveDto {
    //用于接收上传图片的户型ID
    @NotNull
    @ApiModelProperty(value = "户型的ID",dataType = "Long",required = true)
    private Long houseTypeId;

    //用于接收上传图片的房间类型ID
    @NotNull
    @ApiModelProperty(value = "房间类型的ID",dataType = "Long",required = true)
    private Long roomTypeId;

    //用于接收上传图片的图片类型分类的标记：标识平面图，样板间等
    @NotNull
    @ApiModelProperty(value = "图片类型的标识",dataType = "Long",required = true,notes = "1：样板间，2：平面图")
    private Long kind;

    public HouseTypeImageReceiveDto(){
    }

    public HouseTypeImageReceiveDto(Long houseTypeId,Long roomTypeId,Long kind){
        this.houseTypeId = houseTypeId;
        this.roomTypeId = roomTypeId;
        this.kind = kind;
    }

    public Long getHouseTypeId(){
        return houseTypeId;
    }

    public void setHouseTypeId(Long houseTypeId){
        this.houseTypeId = houseTypeId;
    }

    public Long getRoomTypeId(){
        return roomTypeId;
    }

    public void setRoomTypeId(Long roomTypeId){
        this.roomTypeId = roomTypeId;
    }

    public Long getKind(){
        return kind;
    }

    public void setKind(Long kind){
        this.kind = kind;
    }

    @Override
    public String toString(){
        return "HouseTypeImageReceiveDto{" + "houseTypeId=" + houseTypeId + ", roomTypeId=" + roomTypeId + ", kind=" + kind + '}';
    }
}
